package com.triones.yjj.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 订单交易记录
 *
 * @Author: triones
 */
@TableName(value = "tr_order_trade_record")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class OrderTradeRecordDO extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 交易类型
     */
    private String fundType;
    /**
     * 交易金额
     */
    private BigDecimal tradeAmount;
    /**
     * 交易者客户id
     */
    private Long memberId;
    /**
     * 交易者微信id
     */
    private Long memberWxUserId;
    /**
     * 系统用户
     */
    private Long userId;
    /**
     * 结算状态
     */
    private Integer settlementStatus;
}
